<template>
  <div>
    <h3>标题:{{ props.title }}</h3>
    <p>描述:{{ props.descript }}</p>
  </div>
</template>

<script setup lang="ts">
// const props = defineProps(['title', 'descript'])

const props = defineProps({
  title: String,
  descript: {
    type: [String, Number],
    required: true
  }
})

console.log(props.title, 'props.title')
</script>

<style></style>
